package com.tuozixuan.caffeine;

import com.github.benmanes.caffeine.cache.Cache;
import com.github.benmanes.caffeine.cache.Caffeine;

public class StatisticsDemo {

	public static void main(String[] args) {
		
		Cache<String, String> cache = Caffeine.newBuilder().maximumSize(10_000).recordStats().build();
		System.out.println("stats:" + cache.stats());
	}

}
